import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/admin/wechatUser/index',
    method: 'get',
    params: query
  })
}

export function syncData(query) {
  return request({
    url: '/admin/wechatUser/syncData',
    method: 'get',
    params: query
  })
}

export function black(query) {
  return request({
    url: '/admin/wechatUser/black',
    method: 'get',
    params: query
  })
}

export function updateMark(data) {
  return request({
    url: '/admin/wechatUser/remark',
    method: 'post',
    data
  })
}
